<template>
    <div class="aboutus">
        <el-form label-width="80px">
            <el-form-item>
                <el-button type="primary" @click="onSubmit">立即创建</el-button>
                <el-button>取消</el-button>
            </el-form-item>
            <el-form-item label="编号">
                <el-input v-model="calItem.code"></el-input>
            </el-form-item>
            <el-form-item label="名称">
                <el-input v-model="calItem.name"></el-input>
            </el-form-item>
            <el-form-item label="表达式">
                <OpcTagSelectPanel />
            </el-form-item>
            <el-form-item label="备注">
                <el-input v-model="calItem.remark"></el-input>
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
import OpcTagSelectPanel from "./OpcTagPanel";
export default {
    data() {
        return {
            calItem: {
                code: "",
                name: "",
                remark: ""
            }
        }
    },
    components: {
        OpcTagSelectPanel
    },
    methods: {
        onSubmit() {

        }
    }
};
</script>

<style lang="less" scoped>
.aboutus {
    width: 100%;
    height: 100%;
    p {
        text-indent: 2em;
    }
}
</style>